Update module github.com/hashicorp/go-getter to v1.7.5 [SECURITY] #1199
+264
−6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.5.11
->v1.7.5
GitHub Vulnerability Alerts
CVE-2022-30322
HashiCorp go-getter through 2.0.2 does not safely perform downloads. Arbitrary host access was possible via go-getter path traversal, symlink processing, and command injection flaws.
CVE-2022-30321
HashiCorp go-getter through 2.0.2 does not safely perform downloads. Protocol switching, endless redirect, and configuration bypass were possible via abuse of custom HTTP response header processing.
CVE-2022-26945
HashiCorp go-getter before 2.0.2 allows Command Injection.
CVE-2022-30323
HashiCorp go-getter through 2.0.2 does not safely perform downloads. Asymmetric resource exhaustion could occur when go-getter processed malicious HTTP responses.
CVE-2023-0475
HashiCorp go-getter up to 1.6.2 and 2.1.1 is vulnerable to decompression bombs. Fixed in 1.7.0 and 2.2.0.
CVE-2024-3817
When go-getter is performing a Git operation, go-getter will try to clone the given repository. If a Git reference is not passed along with the Git url, go-getter will then try to check the remote repository’s HEAD reference of its default branch by passing arguments to the Git binary on the host it is executing on.
An attacker may format a Git URL in order to inject additional Git arguments to the Git call.
Consumers of the go-getter library should evaluate the risk associated with these issues in the context of their go-getter usage and upgrade go-getter to 1.7.4 or later.
CVE-2024-6257
HashiCorp’s go-getter library can be coerced into executing Git update on an existing maliciously modified Git Configuration, potentially leading to arbitrary code execution. When go-getter is performing a Git operation, go-getter will try to clone the given repository in a specified destination. Cloning initializes a git config to the provided destination and if the repository needs to get updated go-getter will pull the new changes .
An attacker may alter the Git config after the cloning step to set an arbitrary Git configuration to achieve code execution.
Release Notes
hashicorp/go-getter (github.com/hashicorp/go-getter)
v1.7.5
Compare Source
What's Changed
New Contributors
Full Changelog: hashicorp/go-getter@v1.7.4...v1.7.5
v1.7.4
Compare Source
What's Changed
git
commands https://github.com/hashicorp/go-getter/pull/483.netrc
handling if the file does not exist https://github.com/hashicorp/go-getter/pull/433Full Changelog: hashicorp/go-getter@v1.7.3...v1.7.4
v1.7.3
Compare Source
What's Changed
New Contributors
Full Changelog: hashicorp/go-getter@v1.7.2...v1.7.3
v1.7.2
Compare Source
What's Changed
GIT_SSH_COMMAND
when not needed by @nl-brett-stime https://github.com/hashicorp/go-getter/pull/300Full Changelog: hashicorp/go-getter@v1.7.1...v1.7.2
v1.7.1
Compare Source
v1.7.0
Compare Source
What's Changed
New Contributors
Full Changelog: hashicorp/go-getter@v1.6.2...v1.7.0
v1.6.2
Compare Source
What's Changed
no getter available for X-Terraform-Get source protocol
when using bare github or bitbucket hostnames: #370v1.6.1
Compare Source
v1.6.0
Compare Source
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.